package com.example.mes_boot.mapper;

import com.example.mes_boot.pojo.factory;
import com.example.mes_boot.pojo.process;
import com.example.mes_boot.pojo.project;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface addmapper {
    void add(String name,String address,String rt_power,Integer rt_voltage,String status,String remark);
    void addproject(project add);

    void updatafactory(Integer id, Integer page);

    Integer addwl(@Param("factoryModel") factory factoryModel);

    void addprocess(@Param("process") process id);
}
